 {template 'default','header'}
            <div id="content" class="fix-float">
                <div id="col-main">
                    <div class="crumb-nav">
                        <b class="top-line"></b>
                        <i class="icon"></i>
                        <p class="nav-cont"><a href="/">首页</a> &gt; <a href="{$category_single['url']}">{$category_single['catname']}</a></p>
                    </div>
                    <div class="chl-title">
                        <img src="{$category_single['image']}" />
                    </div>
                    {php $list = array();$i=0;}
                    {get sql="select c.* from edufe_content as c, edufe_content_rel as cr where cr.catid='$catid' and cr.contentid=c.id and c.status=3 and c.siteid='master'  order by c.listorder desc,c.addtime desc" rows="28" page="$page"}
                        {php $key = intval($i/7);}
                        {if (!isset($list[$key]))}
                            {php $list[$key] = array();}
                        {/if}
                        {php $list[$key][] = $r;}
                    {/get}
                    <div class="chl-content">
                        {php $i=1;}
                        {loop $list $k $v}
                            <ul class="info-list">
                                {loop $v $_v}
                                <li><span><em>{$_v['style2']}</em>{date('Y-m-d', $_v['addtime'])}</span><a href="{if !empty($_v['link'])}{$_v['link']}{else}content_{$_v['id']}.html{/if}">{$_v['title']}</a></li>
                                {/loop}
                            </ul>
                            {if $k!=$key}
                                <b class="dot-line"></b>
                            {/if}
                        {/loop}
                        <div class="pagination">
							<div class="pagination-wrap">
                            {muti_pages($pagecount,$page)}
							</div>
                        </div>
                    </div>
                </div>
                {template 'default','right'}
            </div>
{template 'default','footer'} 
